#pragma once

#include "AnimationEvent.h"
#include "ExplosionMush.h"
#include <OgreSceneManager.h>
#include <OgreParticleSystem.h>
#include <OgreParticleEmitter.h>

class ExplosionColumn : public AnimationEvent {

private:
	Ogre::SceneManager * _mScene;
	Ogre::ParticleSystem * _explosionParticleSystem;
	Ogre::SceneNode * _explosionNode;
	Ogre::Real systemNameExplosion;

	

public:
	bool _started;
	ExplosionColumn(Ogre::SceneManager * mScene);
	virtual ~ExplosionColumn(void);

	void entrega();

	virtual void startEvent();
	virtual void prepareEvent();
	virtual void restartEvent();

	virtual bool hasStarted();

	virtual void update(float deltaTime);

	virtual void quit();
};